package com.hsh.vo.result.convert;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Collections;
import java.util.List;

/**
 * 部门
 */
@Data
@Accessors(chain = true)
public class DeptVO {

    @ApiModelProperty(value = "部门id")
    private String deptId;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "部门id")
    private String parentId;

    @ApiModelProperty(value = "人员id")
    private String userId;

    @ApiModelProperty(value = "人员名称")
    private String username;

    @ApiModelProperty(value = "子部门")
    private List<DeptVO> children = Collections.emptyList();
}
